Assignment (Crystal syntax)


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  — —
Sup­port machine trans­la­tion: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  — —















Crys­tal Reports Online Help
Assign­ment (Crys­tal syn­tax)
The assign­ment oper­at­or is a colon fol­lowed by an equals sign (:=).
Example
//Assign the Num­ber value of 10 to the vari­able x
x := 10;
//Assign the String value of ““hel­lo”” to the
//variable named greet­ing
greet­ing := ““hello””;The equal­ity oper­at­or (=) is used to check when two val­ues are equal. A com­mon error is to use the equal­ity oper­at­or when the assign­ment oper­at­or is actu­ally inten­ded. This can gen­er­ate a mys­ter­i­ous error mes­sage or no error mes­sage at all since it is often syn­tactic­ally cor­rect to use the equal­ity oper­at­or. For example:
greet­ing = ““hello””;The above for­mu­la checks if the value held by the vari­able greet­ing is equal to the value ““hel­lo””. If it is, then the expression’s value is True, and if is not then the expression’s value is False. In any case, it is a per­fectly cor­rect Crys­tal syn­tax expres­sion (assum­ing that the greet­ing is a String vari­able).
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

Pre­vi­ous page Next page
SAP Busi­nessOb­jects
http://www.sap.com/sapbusinessobjects/
Sup­port ser­vices
http://service.sap.com/bosap-support/
Pro­duct Doc­u­ment­a­tion on the Web
http://help.sap.com/


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –
Appoġġ ta traduzz­joni awto­matika: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

Rap­porti Crys­tal Online Għa­jnuna
Assen­ja­ment (sin­tassi Crys­tal)
L-oper­at­ur assen­jazz­joni hija kolon seg­wita minn sin­jal hija ugwali (: =).
eżem­pju
// Jassen­ja l-valur Num­ru tal-10 ta għall-var­jab­bli x
x: = 10;
// Jassen­ja l-valur String ta ’ ““bon­jour”” għall–
// Var­jab­bli jis­mu greet­ing
greet­ing: = ““bon­jour””; L-oper­at­ur ugwal­jan­za (=) jin­tuża biex jiċċekkja meta żewġ valuri huma ugwali. Żball komuni huwa l-użu l-oper­at­ur ugwal­jan­za meta l-oper­at­ur assen­jazz­joni huwa tassew maħsub. Dan jista jiġġen­era mes­saġġ ta’ żball mis­ter­juża jew l-ebda mes­saġġ ta żball fil-liv­el­li koll­ha peress li spiss tkun sint­at­tika­ment kor­rett li tuża l-oper­at­ur ugwal­jan­za. Pereżem­pju:
greet­ing = ““bon­jour””; Il-kon­trol­li for­mu­la ta hawn fuq jekk il-valur miżmum mill-greet­ing var­jab­bli huwa daqs il-valur ““bon­jour””. Jekk huwa, allura l-espress­joni tal-valur huwa Veru, u jekk ma jkunx allura l-espress­joni tal-valur huwa Foloz. Fi kwalunk­we każ, huwa per­fettament kor­retta espress­joni sin­tassi Crys­tal (jekk wieħed jas­sumi li l-greet­ing huwa var­jab­bli String).
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  — —

paġna ta qabel paġna li jmiss
SAP Busi­nessOb­jects
http://www.sap.com/sapbusinessobjects/
ser­vizzi ta appoġġ
http://service.sap.com/bosap-support/
Dok­u­mentazz­joni pro­dott fuq il-Web
http://help.sap.com/
 


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –
Onder­steun­ing masji­en ver­tal­ing: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

Crys­tal Reports Online Hulp
Opdrag (Crys­tal sin­tak­s­is)
Die opdrag oper­at­eur is n kolon gevolg deur n gelyk tek­en (: =).
voor­beeld
// Ken die get­al­waarde van 10 tot die ver­an­der­like x
x: = 10;
// Die string waarde van ““hal­lo”” aan die Ken
// Ver­an­der­like gen­oem gro­et
gro­et: = ““hal­lo””, Die oper­at­eur gelykheid (=) word gebruik om seker te maak wan­neer twee waardes gelyk is. N Alge­mene fout is om die oper­at­eur gelykheid te gebruik wan­neer die opdrag oper­at­eur eint­lik bedoel is. Dit kan n geheim­sin­nige fout bood­skap of geen fout­bood­skap gene­reer glad want dit is dikwels sin­tak­ties kor­rek tot die oper­at­eur gelykheid gebruik. Byvoor­beeld:
gro­et = ““hal­lo””; Bogen­oem­de for­mule tjeks indi­en die waarde wat deur die ver­an­der­like gro­et is gelyk aan die waarde ““hal­lo””. As dit is, dan is die waarde van die uit­drukking se is waar, en as is nie dan die waarde van die uit­drukking is Vals. In elk geval, dit is n per­fek kor­rek Crys­tal sin­tak­s­is uit­drukking (die ver­on­der­stelling dat die gro­et is n stringver­an­der­like).
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  — —

Vori­ge Vol­gende
SAP Busi­ness
http://www.sap.com/sapbusinessobjects/
onder­steun­ings­di­en­ste
http://service.sap.com/bosap-support/
Produk dok­u­mentas­ie op die web
http://help.sap.com/
 


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –
Mbështetje mak­inë përk­thim: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

Crys­tal Reports Online Ndih­më
Cak­timi (Sin­tak­sa Crys­tal)
Oper­at­ori detyrë është një zor­rë e trashë të ndjekur nga një shen­jë e bara­bartë (: =).
shem­bu­ll
// Cak­to vler­ën Num­ri prej 10 për ndry­shoren x
x: = 10;
// Cak­to vler­ën String e ““hel­lo”” në
// Ndryshuesh­me quajtur për­shën­detje
për­shën­detje: = ““hel­lo””; Oper­at­ori i barazisë (=) është për­dor­ur për të kon­trol­lu­ar kur dy vler­at janë të bara­barta. Një gabim i zakon­shëm është që të për­dor­in oper­at­or­in e barazisë kur oper­at­ori detyrë ka për qël­lim të vër­tetë. Kjo mund të gjen­er­o­jnë një mesazh mis­teri­oze gabimi ose asnjë mesazh gabimi në të gjitha pasi ajo shpesh është syn­tactic­ally sak­të për të për­dor­ur oper­at­or­in e barazisë. Për shem­bu­ll:
Për­shën­det­ja = ““hel­lo””; kon­trolle for­mulën e mësipërme, nëse vlera e mba­jtur me për­shën­detjen e ndryshuesh­me është e bara­bartë me vler­ën e ““Hel­lo””. Nëse është, atëherë vlera e shpre­hjes është e vër­tetë, dhe në qoftë se nuk është atëherë vlera shpre­hja është i rremë. Në çdo rast, kjo është një kre­jtës­isht e sak­të Crys­tal Sin­tak­sa shpre­hjes (duke supozuar se për­shën­det­ja është një vari­abël String).
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  — —

faq­ja mbrapa Faq­ja tjetër
SAP Busi­nessOb­jects
http://www.sap.com/sapbusinessobjects/
shërbi­met mbështetëse
http://service.sap.com/bosap-support/
Pro­duct Dok­u­menta­cioni në Web
http://help.sap.com/
 


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –
ድጋፍ ማሽን ትርጉም: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

ክሪስታል የመስመር ላይ እገዛ ሪፖርቶች
ተልእኮ (ክሪስትል አገባብ)
(=) ተልእኮ ከዋኝ አንድ እኩል ምልክት ተከትሎ አንድ ሁለት ነጥብ ነው.
ለምሳሌ
// ወደ ተለዋዋጭ የ x 10 ቁጥር ዋጋ መድብ
x: = 10;
ወደ ወደ ““ጤና ይስጥልኝ”” ያለውን ሕብረቁምፊ ዋጋ መድብ //
// ተለዋዋጭ የተባለ ሰላምታ
ሰላምታ: ““ጤና ይስጥልኝ”” =; ይህ እኩልነት ከዋኝ (=) ሁለት እሴቶች እኩል ናቸው ጊዜ ለማረጋገጥ ጥቅም ላይ ይውላል. አንድ የተለመደ ስህተት ተልእኮ ከዋኝ በትክክል የታሰበ ነው ጊዜ እኩልነት ከዋኝ መጠቀም ነው. ይሄ እኩልነት ከዋኝ ለመጠቀም ብዙውን ጊዜ በአገባብ ትክክል ስለሆነ ሁሉ ሚስጥራዊ የስህተት መልዕክት ወይም ምንም የስህተት መልዕክት ማመንጨት ይችላሉ. ለምሳሌ:
ሰላምታ = ““ጤና ይስጥልኝ”” ነው; ተለዋዋጭ ሰላምታ በ በተካሄደው እሴት እሴት ““ጤና ይስጥልኝ”” ጋር እኩል ነው ከሆነ ከላይ ቀመር ቼኮችን. ይህ ከሆነ, ከዚያ አገላለጽ ያለው ዋጋ እውነተኛ ነው; ከዚያም ካልሆነ አገላለጽ ያለው እሴት ሐሰት ነው. ያም ሆነ ይህ, ይህ (ሰላምታ አንድ ሕብረቁምፊ ተለዋዋጭ ነው ብለን ከወሰድን) አንድ ፍጹም ትክክል ክሪስትል የአገባብ መግለጫ ነው.
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  — —

ቀዳሚ ገጽ ቀጣይ ገፅ
SAP Busi­nessOb­jects
http://www.sap.com/sapbusinessobjects/
የድጋፍ አገልግሎቶች
http://service.sap.com/bosap-support/
በድር ላይ የምርት ስነዳ
http://help.sap.com/
 


 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –
دعم الترجمة الآلية: http://amzn.to/1Z7d5oc
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — –

تقارير الكريستال مساعدة على الانترنت
احالة (تركيب كريستال)
عامل التعيين هو القولون متبوعا يساوي (: =).
مثال
// تعيين قيمة عدد 10 لx متغير
س: = 10؛
// تعيين قيمة سلسلة من ““مرحبا”” لل
// متغير اسمه تحية
تحية: = ““مرحبا””؛ ويستخدم المشغل المساواة (=) لفحص عند قيمتين على قدم المساواة. هناك خطأ شائع هو استخدام المشغل المساواة عندما يكون القصد عامل التعيين في الواقع. ويمكن أن يؤدي رسالة الخطأ غامضة أو أية رسالة خطأ على الإطلاق لأنه في كثير من الأحيان الصحيح نحويا لاستخدام مشغل المساواة. فمثلا:
تحية = ““مرحبا””، وصيغة الشيكات المذكورة أعلاه إذا كانت قيمة عقده تحية المتغير تساوي قيمة ““مرحبا””. إذا كان كذلك، ثم قيمة التعبير هو صحيح، وإذا لم يكن ثم قيمة التعبير هو زائف. في أي حال، بل هو الصحيح تماما كريستال التعبير جملة (على افتراض أن الترحيب الذي لهو متغير سلسلة).
 — —  —  —  —  —  —  —  —  —  —  —  —  —  —  — – — —  —  —  —  —  —  —  — —