battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Share | convert array to xy coodinates

Go down 

Posts : 120
Join date : 2011-08-01

PostSubject: convert array to xy coodinates   Fri Dec 08, 2017 2:18 pm

0 to 8 array to 3 by 3 xy plain :

Private Sub setXY(ByVal n As Integer)
            y = (n + 3) \ 3
            x = (n Mod 3) + 1
        End Sub

kurayami no kagi  _____    
Back to top Go down
View user profile convert array to xy coodinates
Back to top 
Page 1 of 1
 Similar topics
» How can I access the elements of a stored array?
» How to convert selenium project into runnable jar file.
» selenium RC
» How to implement logic: if element exist in the list (array), Se, Selenise
» [ANSWERED] Win Converter for Windows 7

Permissions in this forum:You cannot reply to topics in this forum
battle programmers alliance :: battle programming alliance :: battle programming-
Jump to: