Sunday, October 10, 2010

Simple but useful command

This blog will be very short. It will describe a command which you can use for searching in macros (DATA*) or eventually lists (LIST*) for a string. The result of command is list of macros, which contains the string you search for. This is very useful in case you are searching for some example of some command e.g. in NAPAdb. Of course, there are many other possible purposes. Difficult part of the command is syntax and proper form of apostrophes. Below is self-explaining example :
@list=ARR(3)
@AD.SELECT(7,'DATA*',list,'','','LOC<''searched_string''')
!var lis list

1 comment:

  1. can you give me script how to export hull surface to poseidon.

    i can't find it in NAPA docu, since in Poseidon docu was writen only sort of command nap2pos.mac. But how, i donno?

    ReplyDelete