| |
|
|
Sato Pinto | Sato P. Hello on all sides
without XPSE functions it, with XPSE get Message the variables not declared are. as i me to couple weeks so befasst have, my me to remind the through at the beginning the Program deklarieren the variables The into Structs vorkommen it to that functions brought. have it now too attempts but without Ergebniss. can itself someone The to give trouble "iF" and itself whom code standing what there wrong is?
thanks Regards Sato
If I me The generierte *.enh File anschaue, Why declariert Xpse in this Proc Daylightsaving The variable UDTTZI# CompileMarkSeparation here one lauffähges abgespeckten part to that testing. CompileMarkSeparation {$cleq}
Def &TIME_ZONE_ID_DAYLIGHT 2
Def GetTimeZoneInformation(1) !"kernel32", "GetTimeZoneInformation"
declare StandardDate!,Bias&,StandardBias&,DaylightDate!,DaylightBias&,StandardName#,DaylightName#
declare wMonth%,wDayOfWeek%,wDay%,wHour%,wMinute%,wSecond%,wMilliseconds%
Struct SYSTEMTIME =
wYear%,
wMonth%,
wDayOfWeek%,
wDay%,
wHour%,
wMinute%,
wSecond%,
wMilliseconds%
Struct TIME_ZONE_INFORMATION =
Bias&, Base-Zeitverschiebung in minutes
StandardName#(64), name the Normalzeit-Zeitzone
StandardDate!SYSTEMTIME, Beginn the Standardzeit
StandardBias&, additional Zeitverschiebung the Standardzeit
DaylightName#(64), name the Sommerzeit-Zeitzone
DaylightDate!SYSTEMTIME, Beginn the Sommerzeit
DaylightBias& additional Zeitverschiebung the Sommerzeit
Proc DaylightSaving
// gives back, whether Sommerzeit exists.
Var udtTZI# = New(TIME_ZONE_INFORMATION)
Var RetVal& = GetTimeZoneInformation(udtTZI#)
Return (RetVal& = &TIME_ZONE_ID_DAYLIGHT)
ENDPROC
Print "Sommerzeit: "; If(DaylightSaving(), "Ja", "Nein")
WaitInput
End
|
|
|
| |
|
|
|
Sato Pinto | Hello on all sides
shining so the XPSE not whom geposteten code clear comes, and there iF not gemeldet has becomes it probably so stay, this is not further bad dar I my Program changed have and not any more XPSE needed, only its Schade because of XPRR the me whom Icon and others items in the Exe changes. must it now with Ressource Hacker Change.
XPSE comes with the subesquent code not zurecht what about me understand it neither The Syntax. can someone these row explain? becomes The Structur SYSTEMTIME in the variable StandarDate! read?
StandardDate!SYSTEMTIME
greeting Sato |
|
|
| |
|
|
|
| Habs me yet not at all angeschaut. in the Übrigen - as well as in the Documentation erwähnt - and here in the Forum already X time declared - there {$noerr} for such Cases To remedy created is.
testify How
without XPSE functions it, with XPSE get Message the variables not declared are. are usually eh To unqualifiziert, I such Topics first on The long bank schiebe. simply time W pressing and the Error here post could there but already very helpful his. one can additionally too yet from the Konsole copy...
dar I my Program changed have and not any more XPSE needed
no Program needed XPSE, there are The Programmer.
XPSE wait herewith: Error : (STANDARDDATE!SYSTEMTIME) UNDEKLARIERT.
and you have in the Strukturdefinition too StandardDate!SYSTEMTIME declared. XPSE comes here simply not yet with a new XProfan11-feature clear, Struktureneigenschaften too with Structures define to.
too here there remedy, The XPSE seither anbietet: (Veralterungsschutz) CompileMarkSeparation {$pushkeyword STANDARDDATE!SYSTEMTIME}
{$pushkeyword DAYLIGHTDATE!SYSTEMTIME}e> Übrigens, your obiger Source has a Error on the XProfan attentive power. |
|
|
| |
|
|
|
| Nachtrag: I have whom stupid chosen Topictitel "Ohne Xpse functions es" changed.
Aussagekräftige cover must You give away, otherwise write where differently. |
|
|
| |
|
|
|
Sato Pinto | Hello iF
my god are You sensitive, have one nauseous day?
(already X time declared - there {$noerr} for such Cases To remedy created is.) unfortunately No, I had attempts, comes always The Message the The variable udtTZI# twice declariert be probably because XPSE it again in Proc DaylightSaving declariert?
(I have whom stupid chosen Topictitel "Ohne Xpse functions es" changed on "Strukturen in Structures) whether the cover stupid is, only a Ansichtssache? wished XPSE certainly not so bad make, I use it in any my programs and has me already number of times very helped, the cover was only what me so on The speedy invaded is.
(Aussagekräftige cover must You give away, otherwise write where differently) Please comment the accurate before I moreover äussere.
and Please not angry his, the is it none worth
greeting Sato |
|
|
| |
|
|
|
| so badly the cover too chosen was ( and No, XPSE would have too in Sonstwas swap can, it would then not "besser" been) - so helpful nevertheless your Posting!
have me next to the missing Struc!Struc-feature on a Error in the XPSE attentive made!
the stirs therefore the XPSE in the Grunde rather: CompileMarkSeparationexpects, means mem instead of var for reaches and Structures- and then too udtTZI everywhere without #.
with Var on a memory# for a New( have I well something wrong made.
the ought to now but not mean: Umso schlechtere cover -> So better Content.
Sato Pinto
iF"Aussagekräftige cover must You give away, otherwise write where differently." Please comment the accurate before I moreover äussere.
so my I, (and the counts for me How for Perhaps too any others) that mostly the longer cogitate for a Titelvergabe necessary is, circa a cover to find, which the Topic possible aimed describe and possible Fehlschlüsse ausschliesst.
If this skill with the right Forumwahl combined becomes, can effizienter with the border umgegangen go. The benefit is clear: faster Resonanz and less Nebengeräusche.
example:
but not in: Mainpage » The XProfan-Community » Programming / generally / Beginner-Questions » without Xpse functions it
After: Mainpage » IDE, aide, Tools and Precompiler » XPSE - The XProfan-Syntax-Enhancer » Error Structures
... and the Thread would quite different treats go, there blanket Schonmal a gewisse Ernsthaftigkeit unterstellt go can. nevertheless, I verwechsle keines if you as person with technical unkorrekten Themenbetitelungen. should heissen, my Posting has circa heaven sake nothing with you as person To do. its sooner a mechanische response The I me in this drop too self had give can. be means Please not gestutzt and feel you Please keines if How "angegriffen", "Korrekte Thementitel" can naturally too a Macke his...
XPSE bring I to that next Update with, The o.g. situations correctly To manage. |
|
|
| |
|
|
|
Sato Pinto | everything clarified
Freuhe me aud whom next Update
greeting Sato |
|
|
| |
|
|
|
| went integrally fix To solve: [...]
thanks for the Feedback! |
|
|
| |
|
|
|
Sato Pinto | functions very well thanks |
|
|
| |
|
|
|
| |
|
| |
|
|