-
Notifications
You must be signed in to change notification settings - Fork 4
hb_W
This function evaluates a given <pBlock>
code-block in each used work area (in other words, the given code-block is evaluated iteratively , against all opened work areas). If <pBlock>
return .F.
(FALSE), the iteration is interrupted otherwise the evaluation continues until all work areas been processed. (source-code)
Returns the week number of year, for the given <dDate>
. Worth to note that the returned value is ISO 8601 compliant.
With this function can also obtained the year and/or the day-number of the week, into <nYear>
and <nDayOfWeek>
optional parameters, provided they've been passed by reference. (source-code)
WARNING! 1st day of the week according to ISO 8601 is Monday (and not Sunday, as it's widely regarded to be). This may lead to inaccurate/confusing results when the number returned into <nDayOfWeek>
is being used as an argument on calling non-ISO 8601-conforming date functions like, for example, hb_CDay(). In such cases, either use Dow() to determine the day number of the week or alternatively increment by 1
the <nDayOfWeek>
value or pre-increment it with ++
operator, i.e.: hb_CDay( ++nDayOfWeek ).
Note: this is a new function available after 2017-02-08 19:36 UTC+0100 commit by Przemyslaw Czerpak*
compares <cValue>
with <cPattern>
which may contain wildcard characters (?*
).
When optional parameter <lExact>
is TRUE, then it will check if whole <cValue>
is covered by <cPattern>
else it will check if <cPattern>
is a prefix of <cValue>
. If the cPattern
is an empty string, function returns .T.
(source-code)
similar to above 'hb_WildMatch()' but case insensitive. (source-code)
NOTE: If you're looking for hb_wapi...*() and hb_win...*() functions family, see APIs - HBWIN
Harbour Functions Dictionary
Many of the entries presented in this wiki, have been obtained from various sources (see References); however, a good number of them have been written «from scratch» (or rewritten/corrected), particularly those referring to newer Harbour functions. Anyway, it's a 'work in progress', so there might be omissions, oversights and / or errors. That said, any suggestion/correction/comment are more than welcome --many thanks, to those few who already have made contributions!
Harbour exclusive functions | Clipper compatible functions |
---|---|
hb_A | A |
hb_B | B |
hb_C | C |
hb_D | D |
hb_E | E |
hb_F | F |
hb_G | G |
hb_H | H |
hb_I | I |
hb_J_K | J K |
hb_L | L |
hb_M | M |
hb_N_O | N O |
hb_P | P |
hb_R | Q R |
hb_S | S |
hb_T | T |
hb_U | U |
hb_V | V W |
hb_W | X Y |
- Contrib. Libraries
HBWIN WinAPI Library | Compress Libraries |
HBHPDF Library (Haru) | Multi Threading |
Harbour Socket API | hbCT (Cl*pper tools) |
Serial API | hbNF (NanForum library) |
HBCURL cURL API Library | Mini-XML docs |
-
praeterea lectio...
Miscellaneous Readings