Index wiedza i zycie3 Pani Jeziora 30 (66) www nie com pl 3 014 04 (4) lex polonica 6 Kelder ÂŹródła wiecznej młodoÂści 55 (3) Erikson Steven Ogrody ksiezyca |
[ Pobierz całość w formacie PDF ] .(c)The value assigned to intCostwill no longer be an integer under VBScript.Under VBScript thevariable will have to be declared to be of type variant becausethat's the only type supported.Because a variant can assume anytype, the variable will assume a single type (decimal point number)after this assignment.The following is the code, modified to work forVBScript:dim TAX_RATEdim ITEM_PRICEDim intUnits as IntegerDim intCost as Integer' Set up constant valuesTAX_RATE = 0.04ITEM_PRICE = 25' Calculate the total costintUnits = InputBox("How many units do you wish to purchase?")intCost = (ITEM_PRICE * intUnits) * TAX_RATE' Store cost in its integer representationintCost = cInt(intCost)Day 21Any language features that relate to externalcommunication and control fall into this category.They includenormal file input and output, clipboard support, printer objectsupport, dynamic link library calls, and calls to system applicationprogramming interfaces.Commercial controls with the highest level ofcertification have been verified by an independent certificationlaboratory.This does not mean they are bug free, but it doesimply an overall level of general soundness.If a control is certified,it carries with it a digital signature so that the creator ofthe control is clearly and uniquely identified.This providesa trail of accountability if any problems occur [ Pobierz całość w formacie PDF ] |
||||
Wszelkie Prawa Zastrzeżone! Kawa była słaba i bez smaku. Nie miała treści, a jedynie formę. Design by SZABLONY.maniak.pl. | |||||