Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to "call by value"

0 views
Skip to first unread message

Terje Nervik

unread,
Feb 20, 2001, 3:18:22 PM2/20/01
to
Hi!

I need som help, i'll try to explain my problem.

In the example below [record(1) = "Nidaros"]
I know i can use [Nidaros.Kamp 50], but instead of writing [Nidaros], i want
to use the value of [record(1)], is that possible? How?

=============
class lag
public seier
public sub Kamp(se)
seier = seier + se
end sub
end class

Dim Nidaros
Set Nidaros = New lag

if record(2) > record(3) then
record(1).Kamp 50
end if
==============

Thanx for any comments or help.
Terje Nervik


0 new messages