Page 1 of 1

..

Posted: Sat Feb 26, 2005 12:16 pm
by Rolands
removed

Great idea !

Posted: Sat Feb 26, 2005 2:43 pm
by DominiqueB
Hello, great idea !
But it could be even better to deliver the code to allow one to explore and learn from it !
Anyway, thank's a lot.

Dominique

Posted: Sat Feb 26, 2005 7:27 pm
by blueznl
nice!

... hey nederlander, welkom :-)

Re: Great idea !

Posted: Sat Feb 26, 2005 8:01 pm
by Rolands
removed

Posted: Sun Feb 27, 2005 3:03 pm
by thefool
very nice :D

it would be cool if you could make it load the worms from a file, instead of
directly from an array.. [for internet auto update]

oh btw a little notice of your programming style :D

Code: Select all

Select OSVersion() 
  Case #PB_OS_Windows_95 
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End
  Case #PB_OS_Windows_98 
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING)
    End 
  Case #PB_OS_Windows_ME 
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End
  Case #PB_OS_Windows_NT3_51
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End
  Case #PB_OS_Windows_NT_4
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End
  Case #PB_OS_Windows_2000
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End
  Case #PB_OS_Windows_Future 
    MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
    End                                                   
EndSelect 
does exactly the same as this:

Code: Select all

If OSVersion()=#PB_OS_Windows_XP
  ;do nothing
Else
  MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING)
  End
EndIf
but last one is smaller :D
well just a little friendly note!

again: great work.

edit: notice that the messagerequester code is wordwrapped!

Posted: Sun Feb 27, 2005 3:07 pm
by Polo

Code: Select all

If OSVersion()<>#PB_OS_Windows_XP
  MessageRequester("Windows version conflict", "Scanner is designed for Windows XP only.",#MB_ICONWARNING) 
  End
Endif
Even smaller ;)

Posted: Sun Feb 27, 2005 3:29 pm
by thefool
damn :D

Posted: Sun Feb 27, 2005 3:35 pm
by Rolands
removed