Yoko

All sides of Injection
It is currently 2025-12-28 09:22:59

All times are UTC+02:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 2005-04-30 19:04:02 
Offline
User avatar

Joined: 2005-04-30 18:52:09
Posts: 36
САБЖ

т.е. sub это как бы процедура
а есть ли function что бы можно было написать типа:

if a>ffff(2) then

function fff(a)
a=a+1


Top
   
 Post subject:
PostPosted: 2005-04-30 21:06:56 
Offline
Expert!
User avatar

Joined: 2004-04-04 21:40:09
Posts: 1007
Code:
sub test()
  UO.Print(STR(test2(2,2)))
end sub

sub test2(a,b)
  var resultat
  resultat=a+b
  return resultat
end sub


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC+02:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited