Re: syntax error ?????????

new topic     » goto parent     » topic index » view thread      » older message » newer message

You need to assign the result from a function to a value.
In fum(), use something like=20

atom junk
junk =3D foo(fee)

HTH,
Michael J. Sabal
mjs at osa.att.ne.jp=20


>>> Bernie Ryan <bwryan at PCOM.NET> 01/27/00 10:06AM >>>
Why does this code give me a syntax error when I run it ???????



function foo(atom x)
--
  return 0
--
end function

function fum(atom fee)
--
  foo(fee)
  return 0
--
end function

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu