|   |  
TAKA です。 
 
>私の方でテストしてみたのですが、 
>「insert hex(#counter / 16) + " : ";」の 
>行でerrorが出てしまいます。なぜでしょうか? 
 
これは、「hex」がVer3.13以前にはないためです。 
 
V3.14β2を以下の場所からダウンロードできます。 
http://hide.maruo.co.jp/software/bin/hm314b2.exe 
 
ちなみに、β版の話題は、 
http://www.maruo.co.jp/turukame/ 
です。 
 
β版に不安を感じる場合は、12行目を削除しても良いです。 
もしくは、以下のように修正するか。 
 
// テストマクロ(ここから) 
newfile ; 
disabledraw; 
#counter = 0; 
#endcount = 255; 
insert "  : 0 1 2 3 4 5 6 7 8 9 A B C D E F\n0 :" ; 
while( #counter <= #endcount){ 
  title "第 " + str( #counter ) + " ブロックを出力中"; 
  insert char(#counter) ; 
  #counter = #counter +1; 
  if( #counter % 16 == 0 ){  
    insertreturn; 
//  insert hex(#counter / 16) + " : "; 
    call Change #counter / 16; 
    insert $$return + " : "; 
  }else{ 
    insert " ";  
  } 
} 
endmacro; 
 
Change: 
    ##Wk = ##1; 
    $$Str = ""; 
    while( 1 ) 
    { 
        ##Wk2 = ##Wk % 16; 
        $$Str = midstr( "0123456789ABCDEF", ##Wk2, 1 ) + $$Str; 
        ##Wk = ##Wk / 16; 
        if( ##Wk == 0 ) break; 
    } 
    return $$Str; 
// テストマクロ(ここまで) 
 
			 | 
		  
	 |