OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
ani_txt.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine ani_txt (text, len)
subroutine ani_txt50 (text, len)

Function/Subroutine Documentation

◆ ani_txt()

subroutine ani_txt ( character, dimension(80) text,
integer len )

Definition at line 31 of file ani_txt.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C D u m m y A r g u m e n t s
38C-----------------------------------------------
39 CHARACTER TEXT(80)
40 INTEGER LEN
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER CTEXT(81)
45C
46 ctext(1 :min(len,80)) = ichar(text(1:min(len,80)))
47 ctext(len+1:81 ) = 0
48C
49 CALL write_c_c(ctext,81)
50C
51 RETURN
#define min(a, b)
Definition macros.h:20
void write_c_c(int *w, int *len)

◆ ani_txt50()

subroutine ani_txt50 ( character, dimension(80) text,
integer len )

Definition at line 61 of file ani_txt.F.

62C-----------------------------------------------
63C I m p l i c i t T y p e s
64C-----------------------------------------------
65#include "implicit_f.inc"
66C-----------------------------------------------
67C D u m m y A r g u m e n t s
68C-----------------------------------------------
69 CHARACTER TEXT(80)
70 INTEGER LEN
71C-----------------------------------------------
72C L o c a l V a r i a b l e s
73C-----------------------------------------------
74 INTEGER CTEXT(81)
75
76 ctext(1 :len) = ichar(text(1:len))
77 ctext(len+1:81 ) = 0
78 CALL write_c_c(ctext,50)
79C
80 RETURN