Announcement

Collapse
No announcement yet.

Setting a device value to a variable

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    Originally posted by George View Post
    IBM System 370 machine language!

    If you wrote operating system code the Load PSW (LPSW) command was your best buddy and forgiver of sins! LOL
    Well, for that matter, I could go in and set the voltages off and on for 0s and 1s I suppose...but I'm 65, and there's only so many coding days ahead of me...


    Jim Speiser
    37-year veteran of Home Automation
    Still don't know squat

    Comment


      #17
      Originally posted by JimSpy View Post

      What do you recommend over VBScript? (Please don't say C#! What a mess!)
      Many HS users use VB.NET for scripting. Similar structure to VBScript but with more brackets in places.
      Jon

      Comment


        #18
        Originally posted by JimSpy View Post

        What do you recommend over VBScript? (Please don't say C#! What a mess!)
        VB (.net). Only small differences between vb .net and vbscript.

        Comment


          #19
          Originally posted by jon00 View Post

          Many HS users use VB.NET for scripting. Similar structure to VBScript but with more brackets in places.
          Just what I need. More brackets. More stuff to remember. Does TenScripting grok VB.NET? Been thinking of taking that leap...


          Jim Speiser
          37-year veteran of Home Automation
          Still don't know squat

          Comment


            #20
            Originally posted by JimSpy View Post

            Just what I need. More brackets. More stuff to remember. Does TenScripting grok VB.NET? Been thinking of taking that leap...
            Yes.

            Not more brackets like C#; only all commands now need brackets.

            For example in VBScript:

            hs.writelog "Test","Hello World"

            becomes in VB.Net:

            hs.writelog ("Test","Hello World")
            Jon

            Comment


              #21
              C# seems more like Java to me.
              HS3PRO 3.0.0.500 as a Fire Daemon service, Windows 2016 Server Std Intel Core i5 PC HTPC Slim SFF 4GB, 120GB SSD drive, WLG800, RFXCom, TI103,NetCam, UltraNetcam3, BLBackup, CurrentCost 3P Rain8Net, MCsSprinker, HSTouch, Ademco Security plugin/AD2USB, JowiHue, various Oregon Scientific temp/humidity sensors, Z-Net, Zsmoke, Aeron Labs micro switches, Amazon Echo Dots, WS+, WD+ ... on and on.

              Comment


                #22
                Originally posted by langenet View Post
                C# seems more like Java to me.
                It's like Java, but without the elegance. The multiple lines of inheritance alone is a deal-breaker for me.


                Jim Speiser
                37-year veteran of Home Automation
                Still don't know squat

                Comment

                Working...
                X