Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
String Conversion
Message
 
 
To
04/08/2007 00:31:48
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01245922
Message ID:
01245936
Views:
23
>Your codes work fine but I want to know about
>*4+1
>
>Please help to understand

Position of the month name is calculated as (MonthNumber-1)*4+1, where
(MonthNumber-1) - number of month before current
*4 - # of charcters for each month name (3+space)
+1 - convert offset (which start in 0) to position (which starts with 1)
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform