28 lines
1.1 KiB
MQL5
28 lines
1.1 KiB
MQL5
//+------------------------------------------------------------------+
| |||
//| Test.mq5 |
| |||
//| Copyright 2026, Niquel Mendoza |
| |||
//| https://www.mql5.com |
| |||
//+------------------------------------------------------------------+
| |||
#property copyright "Copyright 2026, Niquel Mendoza"
| |||
#property link "https://www.mql5.com"
| |||
#property version "1.00"
| |||
#property strict
| |||
| |||
//+------------------------------------------------------------------+
| |||
//| |
| |||
//+------------------------------------------------------------------+
| |||
#include "BitFastBuffer.mqh"
| |||
| |||
//+------------------------------------------------------------------+
| |||
//| Script program start function |
| |||
//+------------------------------------------------------------------+
| |||
void OnStart()
| |||
{
| |||
//---
| |||
TSN::CBitBuffer bit;
| |||
bit.WriteBool(true);
| |||
bit.WriteStringWPadd("hola");
| |||
| |||
PrintFormat("%020x", bit.m_bits[0]);
| |||
}
| |||
//+------------------------------------------------------------------+
|