×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

comma delimiting a txt file???

comma delimiting a txt file???

comma delimiting a txt file???

(OP)
can lsp comma delimit a file that is already a txt file if i give it constraints on where to place the delimiter like for example a mnu file
see where i have # placed

 **SUPER_BLOCK_TOOLS#
**TB_SUPER_BLOCK_TOOLS#
ID_#Super_Block_Tools_0# #[_Toolbar("Super Block Tools",# _Floating,# _Show,# 0,# 2,# 1)]#
ID__#23         #[_Button("Block 2 Point",# "blk2pt.BMP",# "ICON_16_BLANK")]#^C^C(load "ask for block2pointcorrect");(c:blk2pt);
ID__#45         #[_Button("Fix Block",# "FixBlock.BMP",# "ICON_16_BLANK")]#^C^C(load "FixBlock.lsp");
ID__#5          #[_Button("Attribite",# "attribite.BMP",# "ICON_16_BLANK")]#^C^C(load "attribite");(C:attribite);
ID__#8          #[_Button("Deattribite",# "DeAttribite.BMP",# "ICON_16_BLANK")]#^C^C(load "attribite");(C:deattribite);
ID__#9          #[_Button("Block Rotate",# "Rotate Block.BMP",# "ICON_16_BLANK")]#^C^C(load "RotBlk");(c:rotblk);


Now there might be some situations where i dont want to place the delimiter before certain characters like if a , is enclosed in (,) i wouldnt want it to place a # before it or if "are enclosed in (") then i would want to place the # before and after the " but not "##" between them you see what im saying i can do this sorta with notepads find and replace but its kinda tedious be nice if i could do this with lisp and just be able to write the rulz

if everyone helps everybody the world will be a better place

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources