I wrote the following SKILL code in "XYZ.il"
procedure(xyz() asiAddAnalysis( 'analog
?name 'XYZ ?
prompt "XYZ" ?fieldList list( asiCreateAnalysisField( ?name 'from ?prompt "from" ?value "0" ?row 1 ?column 1 )
asiCreateAnalysisField( ?name 'to ?prompt "to" ?row 1 ?column 2) asiCreateAnalysisField( ?name 'by ?prompt "by" ?row 1 ?column 3) ) ?optionList list( asiCreateAnalysisOption( ?name 'XYZ1 ?value "1e-4" ) asiCreateAnalysisOption( ?name 'XYZ2 ?value "1e-6" ) ) ) )
when I load and run the procedure 'xyz()' from CIW window i get the fllowing error :
*Error* (Default-reader-method) generic:asiGetName class:symbol
when i run 'xyz()' from skill prompt i get :
*Error* eval: undefined function - asiAddAnalysis
The CDS log says that analog.cxt and oasis.cxt did get loaded.