battle programmers alliance

battle programminga forum for elite programmerswith extreme will powerto sharpen theire skills
 
HomeCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Search
 
 

Display results as :
 
Rechercher Advanced Search
Latest topics
» auto programming dev
Fri Jan 19, 2018 6:42 pm by Admin

» java eclipse oxygen grimoire
Tue Jan 09, 2018 7:19 pm by Admin

» vb.net megazord string outputter
Tue Jan 09, 2018 7:11 pm by Admin

» win10 shortcut keys
Sun Jan 07, 2018 10:16 pm by Admin

» web site grimoire with html css and JS
Sun Dec 31, 2017 5:37 pm by Admin

» vb.net convert array to xy coodinates
Fri Dec 08, 2017 2:18 pm by Admin

» JS javascript convert number to words
Wed Dec 06, 2017 1:23 pm by Moti Barski

» JS pascal triangle question
Mon Dec 04, 2017 9:54 am by Admin

» youtube emojis
Mon Dec 04, 2017 12:14 am by Admin

January 2018
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031   
CalendarCalendar
Social bookmarking
Social bookmarking digg  Social bookmarking delicious  Social bookmarking reddit  Social bookmarking stumbleupon  Social bookmarking slashdot  Social bookmarking yahoo  Social bookmarking google  Social bookmarking blogmarks  Social bookmarking live      

Bookmark and share the address of battle programmers alliance on your social bookmarking website
Share | 
 

 vb.net convert array to xy coodinates

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 78
Join date : 2011-08-01

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

0 to 8 array to 3 by 3 xy plain :

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

_________________
kurayami no kagi  _____    
Back to top Go down
View user profile https://yotamarker.justforum.net
 
vb.net convert array to xy coodinates
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Javascript Array
» Convert string (with decimal or a point) to a integer.
» How can I access the elements of a stored array?
» [ANSWERED] Simple CMD Code for Convert ESDWiM
» How to convert selenium project into runnable jar file.

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