ScrDecBinHex

Author: Itso
0 Views
0 Downloads
0 Favorites
ScrDecBinHex
//+------------------------------------------------------------------+
//|                                                 ScrDecBinHex.mq4 |
//|                                                             Itso |
//|                                                      itso@dir.bg |
//+------------------------------------------------------------------+
#property copyright "Itso"
#property link      "itso@dir.bg"
//----
#include <DecBinHex.mqh>
//+------------------------------------------------------------------+
//| script program start function                                    |
//+------------------------------------------------------------------+
int start()
  {
   Print("DecToBin(13)=", DecToBin(13));
   Print("BinToDec(\"01101\")=", BinToDec("01101"));
   Print("DecToHex(127)=", DecToHex(127));
 
   Print("HexToDec(\"1f\")=", HexToDec("1f"));
   Print("HexToDec(\"1F\")=", HexToDec("1F"));
//----
   return(0);
  }
//+------------------------------------------------------------------+

Comments

Markdown supported. Formatting help

Markdown Formatting Guide

Element Markdown Syntax
Heading # H1
## H2
### H3
Bold **bold text**
Italic *italicized text*
Link [title](https://www.example.com)
Image ![alt text](image.jpg)
Code `code`
Code Block ```
code block
```
Quote > blockquote
Unordered List - Item 1
- Item 2
Ordered List 1. First item
2. Second item
Horizontal Rule ---