Search found 4 matches

by Python27au
Mon Oct 14, 2024 2:22 am
Forum: Other topics
Topic: How to test if a variable is an integer?
Replies: 2
Views: 1101

Re: How to test if a variable is an integer?

Thank you.
by Python27au
Sat Oct 12, 2024 11:02 pm
Forum: Other topics
Topic: How to test if a variable is an integer?
Replies: 2
Views: 1101

How to test if a variable is an integer?

Question Is there a command to detect if a variable is a number? BASIC treats numbers in a string like numbers. I have an array of strings which contain both words and integers. Id like to do something like this For i = 1 to 10 If ArrayOfValues$(i)=<an integer> then x=ArrayOfValues(i) print ArrayOfL...
by Python27au
Fri Oct 11, 2024 11:53 pm
Forum: Other topics
Topic: Referencing a n array from a function
Replies: 3
Views: 1167

Re: Referencing a n array from a function

Thanks mate.
by Python27au
Fri Oct 11, 2024 8:25 pm
Forum: Other topics
Topic: Referencing a n array from a function
Replies: 3
Views: 1167

Referencing a n array from a function

G’day, Can anyone tell me how to reference a main code array from within a function? I have several functions that are passed a set of values. The functions are supposed to use the values to lookup an array and return the value of the array. Sort of like this: DIM array(7,7,3) Def Func1(a,b,c) “Set ...