i mean i made a function for the MFC i'm working on which works like this
function Error( pError as string, dwAction as dword )
local bOK as boolean
while bOK = FALSE
bOK = MessageBox( dwScreenHeight/2, dwScreenWidth/2, pError, "Error", dwAction )
endwhile
endfunction
the message box took standard action based on what you choose as the dwAction - for example MB_OK = 1 which puts up an ok button only which just waits until its pressed and puts a number back.
however thats really for a generic error - and for more complex errors you setup a select -> case version of this specifically for that function, so the more complex functions have thier own error functions.
i suppose if i decided to use a memory pointer i could setup the case selection from how the function is called, but i mean really you could just call this one function for each error you could progress ... as the while actually sticks the loop until the return is 1 then this was cool.
i mean the whole thing took around 5mins of coding, and you could achieve the same sorta thing with the messagebox function in kernel32
Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?