Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 5 of 5 FirstFirst ... 345
Results 41 to 43 of 43
  1. #41
    Member + lameriq's Avatar
    Join Date
    Dec 2015
    Location
    Slovakia
    Age
    35
    Posts
    69
    Rep Power
    49

    Default

    Nope ! Dude, you don't understand me ;-). I tested everything to Greek compass only. So grand compass without magnetic compass - option value No. 1 from MENU. I'm not stupid :-). I worked as a system programmer for many years (as "Assemblerist" - I told it before). I don't know the LUA code syntax only because I am too lazy :-D. I would need a lot of free time to learn it.

    For Greek compass without magnetic - my two-line code - it works properly:
    Code:
    Please Login or Register to see the links
    For Greek compass without magnetic - your one-line code - it does not work properly: (See my explanation in the post above.)
    Code:
    Please Login or Register to see the links
    My better EXPLANATION - what does not work properly in one-line code:

    1. You have contrary values "......3d.vpr" and ".......2d.vpr"
    2. Single-line code works when you change the 2D / 3D mode, and then change the display orientation (landscape / portrait) only. Your code does not work automatically when you change the 2D / 3D mode (immediately after switching the 2D / 3D mode).
    Updated one-line code (is not working properly):
    Code:
    Please Login or Register to see the links
    In the previous post I alluded to a possible problem in the absence of this entry: visible=(%map.primary.mode=="3d" || %map.primary.mode=="2d") ...this is part of the code missing there I think, separated in two lines for better the code execution (line-by-line) - but it's only my opinion :-). I am absolutely newbie in LUA programming. I tested it with all possible entries :-) but only two-line code is working properly :-( .
    Last edited by lameriq; 17th May 2016 at 12:34.

  2.    Advertissements


  3. #42
    Important User
    Join Date
    Jul 2011
    Location
    Hellas
    Posts
    180
    Rep Power
    111

    Default

    Quote Originally Posted by lameriq View Post
    Nope ! Dude, you don't understand me ;-). I tested everything to Greek compass only. So grand compass without magnetic compass - option value No. 1 from MENU. I'm not stupid :-). I worked as a system programmer for many years (as "Assemblerist" - I told it before). I don't know the LUA code syntax only because I am too lazy :-D. I would need a lot of free time to learn it.

    For Greek compass without magnetic - my two-line code - it works properly:
    Code:
    Please Login or Register to see the links
    For Greek compass without magnetic - your one-line code - it does not work properly: (See my explanation in the post above.)
    Code:
    Please Login or Register to see the links
    My better EXPLANATION - what does not work properly in one-line code:
    1. You have contrary values "......3d.vpr" and ".......2d.vpr"
    2. Your one-line code works only if you change the display orientation (landscape / portrait).
    Updated one-line code (is not working properly):
    Code:
    Please Login or Register to see the links
    In the previous post I alluded to a possible problem in the absence of this entry: visible=(%map.primary.mode=="3d" || %map.primary.mode=="2d") ...this is part of the code missing there, separated in two lines for better the code execution (line-by-line) - but it's only my opinion :-) because I am absolutely newbie in LUA programming.
    Mate never i told that you are a stupid...

    Test again but now with a route ...made a route and change the mode from 2d to 3d or 3d to 2d...And inform me again about the result..

    Code:
    Please Login or Register to see the links
    YG Now i see that you have write that the code work when we have a route...or turn the phone from landscape to portrait
    Ok for the code that does not work automatically you have right..


    regards
    Last edited by Doperman; 17th May 2016 at 13:00.

  4. #43
    Member + lameriq's Avatar
    Join Date
    Dec 2015
    Location
    Slovakia
    Age
    35
    Posts
    69
    Rep Power
    49

    Default

    Yes, it's strange. There will be some problem with the execution of the code line-by-line. Therefore, the code works only on two lines.

 

 
Page 5 of 5 FirstFirst ... 345

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
This website uses cookies
We use cookies to store session information to facilitate remembering your login information, to allow you to save website preferences, to personalise content and ads, to provide social media features and to analyse our traffic. We also share information about your use of our site with our social media, advertising and analytics partners.