Post Reply 
define questions
06-22-2017, 12:05 PM
Post: #8
RE: define questions
Nope....though I've used Java. I'm aware of the references in C. I thought the define was like a macro functionality, but it isn't. It's more like a one line program....which makes me wonder at the point of it...having 2 ways to write programs that act similarly.
Didier has it right. Based on everything I've examined, the only way to pass an argument by reference is as a string, but that involves string parsing in real time when all I wanted to do was increment a variable. So, I'd only use x:=x+1; in my program as speed is important since the application involves a lot of calculations (takes a few minutes to run even on the prime). i.e. parsing a string in real time is too slow.

What the prime does need is either a way to pass arguments by reference/pointer or a macro capability.
Thanks for all the responses.
-Donald
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
define questions - webmasterpdx - 06-21-2017, 12:31 PM
RE: define questions - Tim Wessman - 06-21-2017, 02:04 PM
RE: define questions - DrD - 06-21-2017, 02:14 PM
RE: define questions - webmasterpdx - 06-21-2017, 03:17 PM
RE: define questions - Didier Lachieze - 06-21-2017, 11:07 PM
RE: define questions - DrD - 06-21-2017, 09:19 PM
RE: define questions - AlexFekken - 06-22-2017, 02:12 AM
RE: define questions - webmasterpdx - 06-22-2017 12:05 PM



User(s) browsing this thread: 1 Guest(s)