1. routine_id ??
- Posted by Bernie Ryan <LockCityData at CS.COM> Feb 07, 2000
- 393 views
What is the maximum number of routine_id's that can be used in a program. Could the routine ids start at 1 instead of zero this would seem more logical than a routine id of zero.
2. Re: routine_id ??
- Posted by Robert Craig <rds at ATTCANADA.NET> Feb 07, 2000
- 385 views
Bernie Ryan writes: > What is the maximum number of routine_id's that can be > used in a program. Millions. A new id number is produced for each routine that you get the routine id for. A tiny amount of memory is consumed in the process. > Could the routine ids start at 1 instead of > zero this would seem more logical than a routine id of zero. Perhaps, but I'm not going to change it now. Just add or subtract 1. You can assume that routine id's will be small integers, but don't assume that you will always get the same value of routine id for a given routine. Things can change when you add or delete code, or in a new release of Euphoria. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
3. Re: routine_id ??
- Posted by Bernie Ryan <LockCityData at CS.COM> Feb 07, 2000
- 395 views
On Mon, 7 Feb 2000 13:17:17 -0500, Robert Craig <rds at ATTCANADA.NET> wrote: >You can assume that routine id's will be small integers, >but don't assume that you will always get the same value >of routine id for a given routine. Things can change when >you add or delete code, or in a new release of Euphoria. > Rob: Can I assume that they will not change during run-time once I have requested one. Thanks Bernie
4. Re: routine_id ??
- Posted by Robert Craig <rds at ATTCANADA.NET> Feb 07, 2000
- 393 views
- Last edited Feb 08, 2000
Bernie Ryan writes: > Can I assume that they will not change during run-time once I > have requested one. Yes. If you ask for the routine id multiple times on the same routine, you will get the same number returned to you each time, without consuming any extra memory. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com
5. Re: routine_id ??
- Posted by Bernie Ryan <LockCityData at CS.COM> Feb 08, 2000
- 397 views
Thank You Rob Bernie