Oct 30, 2006 #1 Dubbemiah Programmer Apr 2, 2005 6 US I am trying to do the following expression and receive an error: damage := (str*2.5)-(.5*marmor); and i get an error like this: [ or .) needed. Can anyone please help? Thanks!
I am trying to do the following expression and receive an error: damage := (str*2.5)-(.5*marmor); and i get an error like this: [ or .) needed. Can anyone please help? Thanks!
Oct 30, 2006 #2 Glenn9999 Programmer Jun 19, 2004 2,311 US Str is a procedure/function in Pascal. How are your variables defined anyhow - is one of them a table? Upvote 0 Downvote
Str is a procedure/function in Pascal. How are your variables defined anyhow - is one of them a table?
Oct 31, 2006 Thread starter #3 Dubbemiah Programmer Apr 2, 2005 6 US I read that I can't use Integer datatype for decimals, and after I changed the decimals to whole numbers, I stopped getting the errors. Str didn't give me any errors, however I am having problem with some of my if statements , and maybe that could be the reason. Thanks for your help, Glenn! Brandon Upvote 0 Downvote
I read that I can't use Integer datatype for decimals, and after I changed the decimals to whole numbers, I stopped getting the errors. Str didn't give me any errors, however I am having problem with some of my if statements , and maybe that could be the reason. Thanks for your help, Glenn! Brandon