slang-users mailing list

[2005 Date Index] [2005 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Can S-Lang do this ?


I have 95% completed the SLAG menu/screen routines. Just need to add a
"Generic" Formatter for display (and reports) as well as some sort of list/scroll
routine.

However, I was wondering on enhancing the SLAG eXPerience, can S-Lang's interpreter
, if given a set of parameters that are part of my SLAG routines, automagically decode
embedded parameters before doing the final parameter?

Example: (loosely prototype)


define return_data_value ( file_no, field_no )
  {

    variable data_field ;
    data_field = getdata(file_no, field_no ) ; % C file accress routine
    return data_field ;

  }

....
...... slang code .....
.........................
% NOTE: row, col, rs, cs, and Refsh are all integer values

input_rtn ( row, col, rs, cs, "A", return_data_value (1, 12 ), Refsh ) ;

Where in the ABOVE "input_rtn", S-lang executes return_value and pushes that on
to the stack AFTER having pushed Refsh and before the rest and then calling "input_rtn".


ALSO .. thinking of changing my name of the project from SLAG to SLADE -
for S-lang Application Development Environment, since there is no 'real'
application generator in place yet? Any Comments ?



--
Ben Duncan   - VersAccounting Software LLC 336 Elton Road  Jackson MS, 39212
"Never attribute to malice, that which can be adequately explained by stupidity"
       - Hanlon's Razor


_______________________________________________
To unsubscribe, visit http://jedsoft.org/slang/mailinglists.html


[2005 date index] [2005 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]