It looks like you're talking about Functions. I've never programmed in DIV, so I don't really know the way the language goes. But since your subject is "Processes" and in your supplied code, the command "PROCESS" is creating a new function called Card(). In DBP, you would do it the same way, except use the
Function command instead of PROCESS. As follows:
Rem Declare Variable As Global
GLOBAL Variable
Rem set variable and initialisation
Rem main loop
Do
card()
Loop
Function CARD()
Rem code on how the card reacts on different things and its movements
EndFunction
Maybe I didn't really get you right. But still, hope that helps
AsriCE Crew,
- Adi
There's only one hope.