On Sat, 22 Sep 2001, raptor wrote:

> hi,
> 
> is it possible the ops to handle variable number of arguments, what I have
> in mind :
> 
> print I1,",",N2,"\n"

This could probably be done as a macro when the assembler has macro
support in the future.

For now, the Jako Compiler converts:

  var int i;
  var num j;
  # ...
  print("$i,$j\n"); # Looks to the compiler like print(i, ",", j, "\n");

into:

  #...
  print I1
  print ","
  print N1
  print "\n"

if you want to try your hand at writing programs in Jako...


Regards,

-- Gregor


Reply via email to