Aller au contenu

Pleasant.ch

Pleasant.ch
  • Scripting | vbscript

    vbscript – Call

    ParLaurent Muller 20 février 20159 février 2026

    STATEMENT:  Call Implemented in version 1.0 Call The Call statement can be used for calling a function or subroutine. Note that the use of Call is optional. In other words, you can call a function or subroutine by simply stating the function’s or subroutine’s name. If you use Call and if there are one or…

    Lire la suite vbscript – CallContinuer

  • Scripting | vbscript

    vbscript – BuildPath

    ParLaurent Muller 20 février 20159 février 2026

    METHOD:  FileSystemObject.BuildPath Implemented in version 2.0 [newfullpath = ]object.BuildPath(path, name) This method is used to append a name onto an existing path. The format of the new path is ‘existingpath\name’. Code: <% dim filesys, newfullpath set filesys=CreateObject(« Scripting.FileSystemObject ») newfullpath = filesys.BuildPath(c:\inetpub\wwwroot, « images ») %> Output: « c:\inetpub\wwwroot\images »

    Lire la suite vbscript – BuildPathContinuer

  • Scripting | vbscript

    vbscript – Atn

    ParLaurent Muller 20 février 20159 février 2026

    FUNCTION:  Atn( ) Implemented in version 1.0 Atn(Number) The Atn function returns the arctangent for a number. Code: <% =Atn(45.0) %> Output: 1.54857776146818 You can also use a negative number. Code: <% =Atn(-45.0) %> Output: -1.54857776146818

    Lire la suite vbscript – AtnContinuer

  • Scripting | vbscript

    vbscript – AtEndOfStream

    ParLaurent Muller 20 février 20159 février 2026

    Property:  TextStream.AtEndOfStream Implemented in version 2.0 object.AtEndOfStream The AtEndOfStream property returns a Boolean value. If the file pointer is positioned at the end of the file, the value is True. Otherwise, the value is False. The TextStreamobject must be open for reading or an error will occur when using this method. The following code uses…

    Lire la suite vbscript – AtEndOfStreamContinuer

  • Scripting | vbscript

    vbscript – AtEndOfLine

    ParLaurent Muller 20 février 20159 février 2026

    Property:  TextStream.AtEndOfLine Implemented in version 2.0 object.AtEndOfLine The AtEndOfLine property returns a Boolean value. If the file pointer is positioned immediately before the file’s end-of-line marker, the value is True. Otherwise, the value is False. The TextStream object must be open for reading or an error will occur when retreiving this property this method. The…

    Lire la suite vbscript – AtEndOfLineContinuer

  • Scripting | vbscript

    vbscript – Asc

    ParLaurent Muller 20 février 20159 février 2026

    FUNCTION:  Asc() Implemented in version 1.0 Asc(String) The Asc function returns the ANSI character code value for the first character in a string. In these two examples, note that the ANSI value is returned only for the « a ». Code: <% =Asc(« abcde fghij klmno pqrst uvwxyz ») %> Output: 97 Code: <% =Asc(« a ») %> Output: 97

    Lire la suite vbscript – AscContinuer

  • Scripting | vbscript

    vbscript – Array

    ParLaurent Muller 20 février 20159 février 2026

    FUNCTION:  Array( ) Implemented in version 2.0 Array(List) The Array function is used to create a static one-dimension array. You cannot declare a dynamic array using the Array function. Note that the first element in an array is always labeled zero, for example, myarray(0). The List argument is a listing of values that will become the…

    Lire la suite vbscript – ArrayContinuer

  • Scripting | vbscript

    vbscript – And

    ParLaurent Muller 20 février 20159 février 2026

    OPERATOR:  And Implemented in version 1.0 And The And operator is used to perform a logical conjunction on two expressions, where the expressions are Null, or are of Boolean subtype and have a value of True orFalse. The And operator can also be used a « bitwise operator » to make a bit-by-bit comparison of two integers….

    Lire la suite vbscript – AndContinuer

  • Scripting | vbscript

    vbscript – Abs

    ParLaurent Muller 20 février 20159 février 2026

    FUNCTION: Abs() Implemented in version 1.0 Abs(Number) The Abs function returns the absolute value for a number. Negative numbers become positive. Positive numbers remain positive. Code: <% =Abs(-127.89) %> Output: 127.89 Code: <% =Abs(127.89) %> Output: 127.89

    Lire la suite vbscript – AbsContinuer

  • Scripting | vbscript

    vbscript-not equal

    ParLaurent Muller 20 février 20159 février 2026

    OPERATOR:   <> Implemented in version 1.0  <> The <> operator is called the not equal or inequality operator. Code: <% If 128 <> 777 Then Response.Write(« Not equal ») End If %> Output: Not equal

    Lire la suite vbscript-not equalContinuer

Navigation de page

Page précédentePrécédent 1 … 10 11 12 13 14 Page suivanteSuivante

© 2026 Pleasant.ch - Thème WordPress par Kadence WP